package com.share.example.selenium.web;

import com.share.common.common.Page;
import com.share.common.common.Result;
import com.share.example.selenium.model.hzhc.user.HzhcUserPageReq;
import com.share.example.selenium.service.IJfUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author author
 * @since 2024-09-24
 */
@RestController
@RequestMapping("/hzhc/user")
public class HzhcUserController {
    @Autowired
    private IJfUserService jfUserService;

    @RequestMapping("/pageList")
    public Result pageList(HzhcUserPageReq req) {
        Page page = jfUserService.pageList(req);
        return Result.success(page);
    }
}
